﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace PokerService
{
    public interface IGameCallBack
    {
        [OperationContract(IsOneWay = true)]
        void notifyOtherPlayers(string username, string action);

        [OperationContract(IsOneWay = true)]
        void updatePlayer(string username, int money, int seatNr, bool turn, string action);

        [OperationContract(IsOneWay = true)]
        void updateCards(string card, int turn);

        [OperationContract(IsOneWay = true)]
        void updatePot(int amount);

        [OperationContract(IsOneWay = true)]
        void updateButtons(int posibilities, int minRaiseAmount);

        [OperationContract(IsOneWay = true)]
        void gameStarts(string message);

        [OperationContract(IsOneWay = true)]
        void giveCards(int seatNr, string card1, string card2);

        [OperationContract(IsOneWay = true)]
        void anounceWinner(int seatNr);
    }
}
